package com.ljwm.seckill.dto;

import lombok.Data;

/**
 * Created by yuzhou on 2017/8/6.
 */
@Data
public class Exposer {

  private Boolean exposed;
  private String md5;
  private Long seckillId;
  private Long now;
  private Long start;
  private Long end;

  public Exposer(Boolean exposed, String md5, Long seckillId) {
    this.exposed = exposed;
    this.md5 = md5;
    this.seckillId = seckillId;
  }

  public Exposer(Boolean exposed, Long seckillId, Long now, Long start, Long end) {
    this.exposed = exposed;
    this.seckillId = seckillId;
    this.now = now;
    this.start = start;
    this.end = end;
  }

  public Exposer(Boolean exposed, Long seckillId) {
    this.exposed = exposed;
    this.seckillId = seckillId;
  }
}
